package org.jeecg.modules.health_records.health_livehabits.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.health_records.health_livehabits.entity.HealthLiveHabitsInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 生活方式与习惯信息表
 * @Author: jeecg-boot
 * @Date:   2025-06-30
 * @Version: V1.0
 */
public interface HealthLiveHabitsInfoMapper extends BaseMapper<HealthLiveHabitsInfo> {
    /**按recordid查询**/
    List<HealthLiveHabitsInfo> queryByRecordId(@Param("recordID") Long recordID, @Param("idNumber") String idNumber);
    /**电子病历信息查询接口（查询时间最新的那条数据）--按recordid查询**/

    List<HealthLiveHabitsInfo> queryElecRecord(@Param("recordID") Long recordID, @Param("idNumber") String idNumber);

}
